
package com.cms.dao;

import java.util.List;

import com.cms.entity.Record;
import com.cms.utils.page.Pagination;

/**
 * @ClassName: RecordDao
 * @Description: TODO
 * @date 2021-02-27 15:13:10
 */
public interface RecordDao {
    int deleteByPrimaryKey(Integer id);

    int deleteInList(List<String> ids);

    int insert(Record record) throws Exception;

    int getTotalItemsCount(String searchKey);

    Record selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Record record);

    int insertBatch(List<Record> list);

    List<Record> selectBySearchKey(Pagination<Record> page, String searchKey);
}
